package com.ws.ssmzongjie3.service.impl;

import com.ws.ssmzongjie3.bean.Column;
import com.ws.ssmzongjie3.mapper.ColumnMapper;
import com.ws.ssmzongjie3.service.ColumnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ColumnServiceImpl implements ColumnService {
@Autowired
private ColumnMapper columnMapper;
    @Override
    public String getColumnName(Column column) {
        return columnMapper.getColumnName(column);
    }

    @Override
    public void insertColumn(Column column) {
        columnMapper.insertColumn(column);
    }

    @Override
    public void deleteColumn(Column column) {
        columnMapper.deleteColumn(column);
    }

    @Override
    public Column getColumnById(Column column) {

        return columnMapper.getColumnById(column);
    }

    @Override
    public void updateColumn(Column column) {
        columnMapper.updateColumn(column);
    }

    @Override
    public List<Column> listColumn(Column column) {
        return columnMapper.listColumn(column);
    }
}
